package hk.linkcredit.walletservice.wallet.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 钱包账户表
 * </p>
 *
 * @author LinkCredit
 * @since 2022-06-10 01:23:44
 */
@Data
@Builder
@TableName("wallet_account")
@ApiModel(value = "WalletAccount对象", description = "钱包账户表")
public class WalletAccount {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("钱包账户号")
    @TableField("wallet_no")
    private String walletNo;

    @ApiModelProperty("客户号")
    @TableField("cust_no")
    private String custNo;

    @ApiModelProperty("钱包状态")
    @TableField("wallet_status")
    private String walletStatus;

    @ApiModelProperty("状态")
    @TableField("state")
    private String state;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
